package main
//实现一个短视频推荐系统
import (
"fmt"
"net/http"
"encoding/json"
"github.com/gorilla/mux"
"github.com/gorilla/handlers"
"database/sql"
_ "github.com/go-sql-driver/mysql"
)

type Video struct {
	Id int `json:"id"`
	Title string `json:"title"`
	Description string `json:"description"`
	Url string `json:"url"`
}

type Videos []Video

var db *sql.DB
var err error

func main() {

	db, err = sql.Open("mysql", "root:123456@tcp

}



